package com.kk.util;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateUtils {
    private static final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
    public static String formatDate(Date date) {
        return null == date ? null : sdf.format(date);
    }
}
